﻿using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace AliFox.BaseService.BaseData;

public class DataDictionaryDetail(Guid id, Guid pid, string label, string value, short sort)
    : AuditedAggregateRoot<Guid>(id), ISoftDelete, IMultiTenant
{
    public Guid? TenantId { get; init; }

    public Guid Pid { get; init; } = pid;

    public string Label { get; set; } = label;

    public string Value { get; set; } = value;

    public short Sort { get; set; } = sort;

    public bool IsDeleted { get; init; }
}